package com.lv.phuotbacnam.bl.callback;

import com.lv.phuotbacnam.bl.network.error.ApplicationError;

/**
 * Callback interface for result handling
 */
public interface ResultCallback<T,X> {

    void onSuccess(T request, X result);

    void onError(ApplicationError error);
}
